package pattern.feign.fallback;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
import pattern.feign.SocketFeign;
import pattern.model.mq.SendMessageManyModel;
import pattern.model.mq.SendMessageModel;
import pattern.model.mq.SendMessageTokenModel;
import pattern.model.mq.SendMessageTopicModel;
import pattern.result.SocketResult;

/**
 * socketFeign调用失败处理
 * @author Simon
 */
@Slf4j
@Component
public class SocketFeignFallBack implements SocketFeign {
    @Override
    public SocketResult sendByUser(SendMessageModel model) {
        return null;
    }

    @Override
    public SocketResult sendByUserType(SendMessageManyModel model) {
        return null;
    }

    @Override
    public void sendByTopic(SendMessageTopicModel model) {

    }

    @Override
    public void sendByToken(SendMessageTokenModel model) {

    }

    @Override
    public SocketResult sendByUUID(SendMessageModel model) {
        return null;
    }
}
